<!DOCTYPE html>
<html lang="zh">
<head th:replace="~{frag::head}"></head>
  
<body>
<div class="lyear-layout-web">
  <div class="lyear-layout-container">
    <!--左侧导航-->
	<aside th:replace="~{frag::sidebar}"></aside>
    <!--End 左侧导航-->
    
    <!--头部信息-->
    <header th:replace="~{frag::header}"></header>
    <!--End 头部信息-->
    
    <!--页面主要内容-->
    <main class="lyear-layout-content">
      
      <div class="container-fluid">

        <div class="row">
          
          <div class="col-lg-12">
            <div class="card">
              <div class="card-header">
                <h4>查看诊疗项目信息</h4>
                </div>
                  <div class="card-body">
                      <form class="form-horizontal" action="/diagnosisProject/update" method="post">
                        <div class="form-group">
                            <label class="col-md-2 control-label" for="diaId">诊疗项目编码</label>
                          <div class="col-md-4">
                            <p class="form-control-static" id="diaId" name="diaId"th:text="${hos.diaId}">
                          </div>
                            <label class="col-md-2 control-label" for="diaName">诊疗项目名称</label>
                          <div class="col-md-4">
                            <p class="form-control-static"id="diaName" name="diaName" readonly th:text="${hos.diaName}">
                          </div>
                        </div>

                        <div class="form-group">
                            <label class="col-md-2 control-label" for="diaStartTime">开始日期</label>
                          <div class="col-md-4">
                            <p class="form-control-static js-datepicker m-b-10" id="diaStartTime" name="diaStartTime" th:text="${hos.diaStartTime}" data-date-format="yyyy-mm-dd" />
                          </div>
                            <label class="col-md-2 control-label" for="diaEndTime">结束日期</label>
                          <div class="col-md-4">
                            <p class="form-control-static js-datepicker m-b-10" id="diaEndTime" name="diaEndTime" th:text="${hos.diaEndTime}" data-date-format="yyyy-mm-dd" />                          
                        </div>
                    </div>
                        
                        <div class="form-group">
                            <label class="col-md-2 control-label" for="diaExpType">收费类别</label>
                          <div class="col-md-4">
                              <select class="form-control" id="diaExpType" name="diaExpType" size="1" readonly>
                                  <option value="">请选择收费类别</option>
                                  <option value="0" th:selected="${hos.diaExpType == 0}">西药</option>
                                  <option value="1" th:selected="${hos.diaExpType == 1}">中成药</option>
                                  <option value="2" th:selected="${hos.diaExpType == 2}">中草药</option>
                                  <option value="3" th:selected="${hos.diaExpType == 3}">床位费</option>
                                  <option value="4" th:selected="${hos.diaExpType == 4}">化验费</option>
                                  <option value="5" th:selected="${hos.diaExpType == 5}">诊查费</option>
                                  <option value="6" th:selected="${hos.diaExpType == 6}">检查费</option>
                                  <option value="7" th:selected="${hos.diaExpType == 7}">护理费</option>
                                  <option value="8" th:selected="${hos.diaExpType == 8}">特检费</option>
                                  <option value="9" th:selected="${hos.diaExpType == 9}">输氧费</option>
                                  <option value="10" th:selected="${hos.diaExpType == 10}">治疗费</option>
                                  <option value="11" th:selected="${hos.diaExpType == 11}">输血费</option>
                                  <option value="12" th:selected="${hos.diaExpType == 12}">特治费</option>
                                  <option value="13" th:selected="${hos.diaExpType == 13}">医疗服务费</option>
                                  <option value="14" th:selected="${hos.diaExpType == 14}">手术费</option>
                                  <option value="15" th:selected="${hos.diaExpType == 15}">麻药费</option>
                                  <option value="16" th:selected="${hos.diaExpType == 16}">产前检查费</option>
                                  <option value="17" th:selected="${hos.diaExpType == 17}">材料费</option>
                                  <option value="18" th:selected="${hos.diaExpType == 18}">新生儿费</option>
                                  <option value="19" th:selected="${hos.diaExpType == 19}">内置材料</option>
                                  <option value="20" th:selected="${hos.diaExpType == 20}">其他费</option>
                                  <option value="21" th:selected="${hos.diaExpType == 21}">监护床位费</option>
                                  <option value="22" th:selected="${hos.diaExpType == 22}">非处方药</option>
                                  <option value="23" th:selected="${hos.diaExpType == 23}">处方药</option>
                                  <option value="24" th:selected="${hos.diaExpType == 24}">甲类</option>
                                  <option value="25" th:selected="${hos.diaExpType == 25}">乙类</option>
                                  <option value="26" th:selected="${hos.diaExpType == 26}">丙类</option>
                                  <option value="27" th:selected="${hos.diaExpType == 27}">化验费</option>
                                  <option value="28" th:selected="${hos.diaExpType == 28}">诊查费</option>
                                  <option value="29" th:selected="${hos.diaExpType == 29}">检查费</option>
                                  <option value="30" th:selected="${hos.diaExpType == 30}">护理费</option>
                                  <option value="31" th:selected="${hos.diaExpType == 31}">特检费</option>
                                  <option value="32" th:selected="${hos.diaExpType == 32}">输氧费</option>
                                  <option value="33" th:selected="${hos.diaExpType == 33}">治疗费</option>
                                  <option value="34" th:selected="${hos.diaExpType == 34}">输血费</option>
                                  <option value="35" th:selected="${hos.diaExpType == 35}">特治费</option>
                                  <option value="36" th:selected="${hos.diaExpType == 36}">医疗服务费</option>
                                  <option value="37" th:selected="${hos.diaExpType == 37}">手术费</option>
                                  <option value="38" th:selected="${hos.diaExpType == 38}">麻药费</option>
                                  <option value="39" th:selected="${hos.diaExpType == 39}">产前检查费</option>
                                  <option value="40" th:selected="${hos.diaExpType == 40}">材料费</option>  
                                  <option value="41" th:selected="${hos.diaExpType == 41}">新生儿费</option>
                                  <option value="42" th:selected="${hos.diaExpType == 42}">内置材料</option>
                                  <option value="43" th:selected="${hos.diaExpType == 43}">其他费</option>
                                  <option value="44" th:selected="${hos.diaExpType == 44}">监护床位费</option>
                                </select>
                              </select>
                          </div>
                            <label class="col-md-2 control-label" for="diaValid">有效标志</label>
                          <div class="col-md-4">
                              <select class="form-control" id="diaValid" name="diaValid" size="1" readonly>
                                <option value="0" th:selected="${hos.diaValid == 0}">无效</option>
                                <option value="1" th:selected="${hos.diaValid == 1}">有效</option>
                              </select>
                          </div>
                        </div>

                        <div class="form-group">
                          <div class="col-md-11 col-md-offset-1">
                            <button class="btn btn-primary" type="submit">返回</button>
                          </div>
                        </div>
                      </form>
                  </div>
              </div>
            </div>
          </div>
          
        </div>

      </div>
      
    </main>
    <!--End 页面主要内容-->
  </div>
</div>

<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<!--图表插件-->
<script type="text/javascript" src="/js/Chart.js"></script>
<script type="text/javascript">
$(document).ready(function(e) {
    var $dashChartBarsCnt  = jQuery( '.js-chartjs-bars' )[0].getContext( '2d' ),
        $dashChartLinesCnt = jQuery( '.js-chartjs-lines' )[0].getContext( '2d' );
    
    var $dashChartBarsData = {
		labels: ['周一', '周二', '周三', '周四', '周五', '周六', '周日'],
		datasets: [
			{
				label: '注册用户',
                borderWidth: 1,
                borderColor: 'rgba(0,0,0,0)',
				backgroundColor: 'rgba(51,202,185,0.5)',
                hoverBackgroundColor: "rgba(51,202,185,0.7)",
                hoverBorderColor: "rgba(0,0,0,0)",
				data: [2500, 1500, 1200, 3200, 4800, 3500, 1500]
			}
		]
	};
    var $dashChartLinesData = {
		labels: ['2003', '2004', '2005', '2006', '2007', '2008', '2009', '2010', '2011', '2012', '2013', '2014'],
		datasets: [
			{
				label: '交易资金',
				data: [20, 25, 40, 30, 45, 40, 55, 40, 48, 40, 42, 50],
				borderColor: '#358ed7',
				backgroundColor: 'rgba(53, 142, 215, 0.175)',
                borderWidth: 1,
                fill: false,
                lineTension: 0.5
			}
		]
	};
    
    new Chart($dashChartBarsCnt, {
        type: 'bar',
        data: $dashChartBarsData
    });
    
    var myLineChart = new Chart($dashChartLinesCnt, {
        type: 'line',
        data: $dashChartLinesData,
    });
});
</script>
</body>
</html>